$(function () {
    /*手机验证*/
    tel.oninput = function () {
        tel.setCustomValidity("");
    };
    tel.oninvalid = function () {
        tel.setCustomValidity("请输入正确手机号");
    };
    /*qq验证*/
    qq.oninput = function () {
        qq.setCustomValidity("");
    };
    qq.oninvalid = function () {
        qq.setCustomValidity("请输入正确qq号");
    };

    /*身份证号验证*/

    idCard.oninput = function () {
        idCard.setCustomValidity("");
    };
    idCard.oninvalid = function () {
        idCard.setCustomValidity("请输入正确身份证号");
    };

})
